/**
 * Created by admin on 2017/6/9.
 */
import {
  CoachSignDetail,
  SignList,
  MemberDetail
} from '../mutation-types';
import * as getters from '../getters/coach';
import * as actions from '../actions/coach';
const state = {
  coachSignDetail: {},
  signList: {},
  memberDetail: {}
};

const mutations = {
  [CoachSignDetail] (state, data) {
    state.coachSignDetail = data;
  },
  [SignList] (state, data) {
    state.signList = data;
  },
  [MemberDetail] (state, data) {
    state.memberDetail = data;
  }
};

export default {
  state,
  mutations,
  getters,
  actions
}
